package com.example.demo.mapper.service;

import java.util.List;

import com.example.demo.domain.service.Service;

public interface ServiceMapper {
    int deleteByPrimaryKey(Integer serviceId);

    int insert(Service record);

    int insertSelective(Service record);

    Service selectByPrimaryKey(Integer serviceId);

    int updateByPrimaryKeySelective(Service record);

    int updateByPrimaryKey(Service record);
	// 以下是新增的方法
	
	//通用查询方法
	List<Service> selectServiceList(Service service);
	
	//删除方法，支持批量删除?
     int deleteServiceByIds(String[] serviceIds);
     
//     List<Service> selectServiceName();
//     
//     int selectCountByServiceId(Integer id);
     
     
}